# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=wlr-randr
pkgver=0.2.0
pkgrel=1
pkgdesc="Utility to manage outputs of a Wayland compositor"
url="https://sr.ht/~emersion/wlr-randr/"
license="MIT"
arch="all"
makedepends="meson wayland-dev"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~emersion/wlr-randr/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check" # no test suite

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
48826f298b1991d6993daf12ce47d437fe8d8fd2916ce4c4612f085e19622f195f92154d5f23082665600c1ab5d2b161b05725e6a2095489b80fe40113e1db6a  wlr-randr-0.2.0.tar.gz
"
